package br.com.hstar.client.usuario;

import java.util.List;

import br.com.hstar.client.util.HstarUserException;

import com.google.gwt.user.client.rpc.RemoteService;


public interface UsuarioService extends RemoteService {

	public void saveOrUpdate(UsuarioUI ui) throws HstarUserException;
	public List listAll();
	public UsuarioUI retrieveById(Long id);
	public void delete(Long id);
	public UsuarioUI login(String login, String senha);
	public void alterarSenha(String senhaAnterior, String senhaNova, Long userID) throws HstarUserException;
	
}
